<?php
namespace modules\system\action\show;

use library\PageAction;
use helper\Util;

/**
 * IndexAction class file
 * 项目首页
 * @author 宋欢 <iphper@yeah.net>
 * @version $Id: IndexAction.php 1 2013-02-08 00:48:06Z huan.song $
 * @package modules.system.action.show
 * @since 1.0
 */
class IndexAction extends PageAction
{
	protected $_checkLogin = false;
	
	public function run()
	{
		$ret = Util::getService('Posts', 'post')->findAll('dt_created desc', 0, 10);
		$this->render($ret);
	}
}
